package com.itheima.service;

import com.itheima.common.PageResult;
import com.itheima.dto.Simple;
import com.itheima.dto.SubjectsDto;
import com.itheima.pojo.Subjects;

import java.util.List;

public interface SubjectsService {
    PageResult subjectsPage(String subjectName, Integer page, Integer pagesize);

    void modifySubjectsByid(Subjects subjects);

    void removeSubjectsByid(Integer id);

    Integer addSubjects(Subjects subjects);

    List<Simple> simple();

    SubjectsDto findSubjectsById(Integer id);
}
